package ssm.dao;

import ssm.pojo.Orderitem;
import ssm.pojo.Orders;
import ssm.pojo.User;

import java.sql.SQLException;
import java.util.List;

public interface OrderDao {
    int addOrder(Orders order) throws SQLException;
    int addOrderitem(Orderitem orderitem) throws SQLException;
    List<Orders> findOrderBU(User user,int number,int total) throws SQLException;
    List<Orderitem> fintOrderItemBO(Orders orders) throws SQLException;
    int findCountOrder(User user) throws SQLException;
}
